package gestionTransportObjetsGenerated;

/**
 * Interface definition : GestionBancaire
 * 
 * @author OpenORB Compiler
 */
public class GestionBancairePOATie extends GestionBancairePOA
{

    //
    // Private reference to implementation object
    //
    private GestionBancaireOperations _tie;

    //
    // Private reference to POA
    //
    private org.omg.PortableServer.POA _poa;

    /**
     * Constructor
     */
    public GestionBancairePOATie(GestionBancaireOperations tieObject)
    {
        _tie = tieObject;
    }

    /**
     * Constructor
     */
    public GestionBancairePOATie(GestionBancaireOperations tieObject, org.omg.PortableServer.POA poa)
    {
        _tie = tieObject;
        _poa = poa;
    }

    /**
     * Get the delegate
     */
    public GestionBancaireOperations _delegate()
    {
        return _tie;
    }

    /**
     * Set the delegate
     */
    public void _delegate(GestionBancaireOperations delegate_)
    {
        _tie = delegate_;
    }

    /**
     * _default_POA method
     */
    public org.omg.PortableServer.POA _default_POA()
    {
        if (_poa != null)
            return _poa;
        else
            return super._default_POA();
    }

    /**
     * Operation preleverFraisInscription
     */
    public boolean preleverFraisInscription(String numCB, int montant)
    {
        return _tie.preleverFraisInscription( numCB,  montant);
    }

    /**
     * Operation crediterTransp
     */
    public void crediterTransp(float montant, String numPrest)
    {
        _tie.crediterTransp( montant,  numPrest);
    }

    /**
     * Operation crediterOperateur
     */
    public void crediterOperateur(float montant, String numOp)
    {
        _tie.crediterOperateur( montant,  numOp);
    }

}
